import {initCanvas} from "./adaptor/canvas.js";
import Main from "./js/main.js";
import {globalData} from "./js/globalData/globalData.js";

const canvas = initCanvas()
globalData.canvas = canvas
globalData.ctx = canvas.getContext('2d')
globalData.screenWidth = globalData.canvas.width
globalData.screenHeight = globalData.canvas.height
new Main()